package cn.yx.common.jpa.test.service.impl;

import cn.yx.common.jpa.service.AbstractJpaService;
import cn.yx.common.jpa.test.cond.UserAccountCond;
import cn.yx.common.jpa.test.dos.UserAccountDo;
import cn.yx.common.jpa.test.dto.UserAccountDto;
import cn.yx.common.jpa.test.mapping.UserAccountMapping;
import cn.yx.common.jpa.test.repository.UserAccountRepository;
import cn.yx.common.jpa.test.service.UserAccountService;
import org.springframework.stereotype.Service;

/**
 * <p>用户账户服务实现类</p>
 *
 * @author Wgssmart
 */
@Service("UserAccountServiceImpl")
public class UserAccountServiceImpl
        extends AbstractJpaService<UserAccountDo,
        UserAccountDto,
        UserAccountCond,
        Long>
        implements UserAccountService {

    private final UserAccountRepository userAccountRepository;

    public UserAccountServiceImpl(UserAccountRepository userAccountRepository) {
        super(userAccountRepository, UserAccountMapping.INSTANCE);
        this.userAccountRepository = userAccountRepository;
    }

}
